-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Typesync #312
Update Typesync #312
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Works (correctly fails on Windows)! |
Yo @lishaduck, thank you as always! Im having some real-life trouble right now, so i will probably be unable to review PRs this week And even the next. |
1b6df01
to
3da74a9
Compare
3da74a9
to
e1a7793
Compare
e1a7793
to
523470a
Compare
523470a
to
0db1df7
Compare
0db1df7
to
034b500
Compare
034b500
to
d31b204
Compare
d31b204
to
b1eb286
Compare
b1eb286
to
2e4ffc3
Compare
2e4ffc3
to
0cd180e
Compare
turbo.json
Outdated
@@ -37,7 +37,9 @@ | |||
}, | |||
"//#manypkg": {}, | |||
"//#knip": {}, | |||
"typesync": {}, | |||
"//#typesync": { | |||
"inputs": ["**/package.json", ".typesyncrc"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhm, either we don't specify the inputs or we add an empty .typesyncrc
file. Otherwise the first time that we add a config file for typescync we are gonna run into trouble.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought I'd added a .typesyncrc
file, but even if not, is there an issue with specifying a non-existent file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there an issue with specifying a non-existent file?
Definitely yes. It creates confusion both now and for our future selfs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still waiting on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the whole tilde (~) thing. It's not needed and it makes my head spin.
turbo.json
Outdated
@@ -37,7 +37,9 @@ | |||
}, | |||
"//#manypkg": {}, | |||
"//#knip": {}, | |||
"typesync": {}, | |||
"//#typesync": { | |||
"inputs": ["**/package.json", ".typesyncrc"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there an issue with specifying a non-existent file?
Definitely yes. It creates confusion both now and for our future selfs.
I can, but first, can you read the rational? Pedantically, the most correct thing would be to pin types to |
I did. Still don't get it. As an example, think about Lodash. Lodash stopped being updated 9 years ago. What does it matter which version of the typings we are importing? Of course we want the latest. Seriously i don't want to deal with any of that. |
Lodash v4 is still "in progress", but let's take react:
I'll go change it, I just wanted to ensure you understood the why. |
0cd180e
to
d6f931e
Compare
turbo.json
Outdated
@@ -37,7 +37,9 @@ | |||
}, | |||
"//#manypkg": {}, | |||
"//#knip": {}, | |||
"typesync": {}, | |||
"//#typesync": { | |||
"inputs": ["**/package.json", ".typesyncrc"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still waiting on this
@lishaduck on a side note, does |
Closes: AndreaPontrandolfo#193. # Conflicts: # pnpm-lock.yaml
d6f931e
to
e6ae056
Compare
I'd gotten it working, but it seems to have broken again. |
Made some tweaks. It's easy enough to get to work, but it's a little finicky. Are you fine with removing |
I think I figured out how to fix it. |
6e3b5b1
to
c2af5c6
Compare
@AndreaPontrandolfo, ping (I'd like to get all my open PRs here and in fsecond merged today, if possible, as school restarts on Monday.) |
Not quite optimal, and requires a bit of bootstrapping, but it works alright.
c2af5c6
to
391a110
Compare
Closes #295, closes #297, closes #193.